package codequity.two.demo25;

import java.math.BigDecimal;
import java.math.RoundingMode;

public class Client25_ {
    public static void main(String[] args) {
        BigDecimal d = new BigDecimal(888888);
        BigDecimal r = new BigDecimal(0.001875 * 3);
        BigDecimal i = d.multiply(r).setScale(2, RoundingMode.HALF_EVEN);


        System.out.println("利息是：" + i);


    }
}
